package com.hiwhitley.himei.contract;

import com.hiwhitley.himei.entity.Video;
import com.hiwhitley.himei.mvpframe.BaseModel;
import com.hiwhitley.himei.mvpframe.BasePresenter;
import com.hiwhitley.himei.mvpframe.BaseView;

import java.util.List;

import rx.Observable;

/**
 * Created by hiwhitley on 2016/9/24.
 */

public interface DailyContract {
    interface Model extends BaseModel{
        Observable<Video> getDaily(String url);
    }

    interface View extends BaseView{
        void showDaily(List<Video.IssueListBean.ItemListBean> beanList, String nextUrl);
    }

    abstract class Presenter extends BasePresenter<Model, View> {
        public abstract void loadDaily(String url);
    }

}
